@echo off
set mysqlpath=E:\wamp\bin\mysql\mysql5.6.12\bin
if not exist "clean_db.query" goto ERROR
%mysqlpath%\mysql --user=root --password=afcepf < clean_db.query
if  %errorlevel% EQU 0 echo clean OK.
pause 
goto FIN
:ERROR
@echo lancer la commande depuis le repertoire ou se situe la requete clean_db.query
:FIN